﻿if(window.navigator.platform.toLowerCase().indexOf("iphone")!=-1){
    var paramSettings='<meta name="viewport" content="width=device-width,user-scalable=no" />';
    document.write(paramSettings);
}
else{
    var paramSettings="<meta name=\"viewport\" content=\"width=device-width; initial-scale=" + Math.floor(window.screen.width / 320 * 10) / 10 + ";\" />";
    document.write(paramSettings);
}